<div class="m-tab s-tab">
	<h2 class="u-tt">TAG管理</h2>
	<div class="filter">
		<form method="get" action="{$url|'AdminTags/index'}">
			<input name="r" type="hidden" value="duxcms/AdminTags/index" />
			TAG名：
			<input name="keyword" id="keyword" type="text" value="{$_GET.keyword}" class="u-ipt u-ipt-2"/>
			<button class="u-btn" type="submit">筛选</button>
		</form>
	</div>
	<ul>
		<li class="z-crt"><a href="{$url|'User/index'}">TAG列表</a></li>
	</ul>
</div>
<form action="{$url|'AdminTags/batch'}" method="post">
<table class="m-table m-table-row" id="table">
	<thead class="m-table-thead s-table-thead">
		<tr>
        <th class="cola">ID</th>
        <th>TAG名称</th>
		<th class="colb">引用次数</th>
		<th class="colb">访问量</th>
		</tr>
	</thead>
	<tbody>
		<!--{loop="$list $key $vo"}-->
		<tr>
			<td><label class="u-opt"><input name="id[]" type="checkbox" value="{$vo.tag_id}" /> {$vo.tag_id}</label></td>
			<td>{$vo.name}</td>
			<td>{$vo.quote}</td>
			<td>{$vo.click}</td>
		</tr>
		<!--{/loop}-->
	</tbody>
</table>
<div class="m-table-tool">
	<div class="operating">
			<label class="u-opt">
				<input id="selectAll" type="checkbox"  />
				全选</label>
			<select class="u-slt" name="type">
				<option value="0">==操作==</option>
				<option value="1">删除</option>
			</select>
			<button type="submit" class="u-btn" >确认</button>
		</div>
	<div class="m-page"> {$page} </div>
</div>
</form>
<script>
Do.ready('base','dialog',function() {
	$('#table').duxTable({selectAll:'#selectAll',deleteUrl:'{$url|"User/del"}'});
});
</script>